package edu.ncst.baseweb.controller.web;

import cn.wintersun.basecommon.common.Result;
import edu.ncst.baseweb.dao.web.LabTeam;
import edu.ncst.baseweb.service.intrer.web.LabTeamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping(value = "/web/lab_team")
public class LabTeamController {
    @Autowired
    private LabTeamService LabTeamService;

    //列表
    @RequestMapping(value = "list",method = RequestMethod.GET)
    public Result<List<LabTeam>> list(){
        System.out.println("这是实验室团队的信息");
        return LabTeamService.list();
    }
}